.header {
  max-width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 21px;
}

.header .defaultNav {
  display: flex;
  gap: 50px;
}

.header ul {
  list-style-type: none;
  padding: 0px;
}

.header__logo {
  max-width: 229px;
}

.header__nav {
  min-width: 200px;
  display: flex;
  margin-top: auto;
  margin-bottom: auto;
  list-style: none;
}

.header__nav li {
  position: relative;
}

.header__nav__item {
  width: 26px;
  height: 23px;
  display: inline-block;
  margin-right: 37px;
  cursor: pointer;
  background: url(../../assets/svg/icon_heart.svg) no-repeat center/22px;
  transition: 1s;
}

.like {
  background: url(../../assets/svg/icon_heart.svg) no-repeat center/22px;
  position: relative;
  z-index: 1;
}

.basket {
  background: url(../../assets/svg/iconBasket.svg) no-repeat center/22px;
}

.product {
  position: relative;
  z-index: 4;
  width: 50px;
  height: 23px;
  background: url(../../assets/svg/shop-svgrepo-com.svg) no-repeat center/50px;
}

.header__nav li:nth-child(2) {
  position: relative;
  width: 50px;
}

.header__nav li:nth-child(2):after {
  content: '';
  position: absolute;
  top: -5px;
  left: 60px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #c2c2c2;
  z-index: 2;
}

.header__nav__button {
  width: 26px;
  height: 23px;
  display: inline-block;
  background: url(../../assets/svg/icon_menu.svg) no-repeat center/25px;
  cursor: pointer;
  transition: 1s;
}

.menu {
  width: 100%;
  height: 100vh;
  top: 0;
  left: 10000px;
  display: flex;
  justify-content: flex-end;
  position: fixed;
  z-index: 20;
  background: rgba(0, 0, 0, 0.60);
}

.menu__content {
  width: 400px;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #F2F2F2;
}

.menu__button {
  width: 40px;
  height: 40px;
  display: inline-block;
  margin-left: 80%;
  margin-top: 10px;
  margin-bottom: 52px;
  background: url(../../assets/svg/menu_cross.svg) no-repeat center/40px;
  cursor: pointer;
}

.menu__list {
  max-width: 232px;
  display: flex;
  flex-direction: column;
  list-style: none;
  font-size: 21px;
}

.menu__list li:not(:last-child) {
  margin-bottom: 21px;
}

.menu__list__item {
  display: inline-block;
  text-decoration: none;
  color: rgba(0, 0, 0, 0.74);
  transition: 1s;
}

.header__nav__item:hover,
.header__nav__button:hover,
.menu__list__item:hover {
  opacity: 0.5;
}

/*для скринридеров*/
.header__hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  overflow: hidden;
}

@media screen and (max-width: 640px) {

  .header__nav {
    justify-content: flex-end;
  }

  .header__nav__item {
    margin-right: 20px;
  }
}